package jin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by Administrator on 2016/10/10.
 */
@Controller
@RequestMapping("/rest")
public class RestController {


    @RequestMapping("/")
    @ResponseBody
    String home() {
        return "Hello World!";
    }

}
